#include <iostream>
#include <string>
using namespace std;
class Person{
friend istream &read(istream& ,Person&);
friend ostream &print(ostream&,const Person&);
private:
	string name;
	string address;
public:
	string get_name() const{return name;}
	string get_address() const{return address;}
	Person()=default;
	Person(const string &s,const string &a):name(s),address(a){}
};
istream &read(istream& ,Person&);
ostream &print(ostream&,const Person&);